import request from '../../../utils/request'

// 获取样地分类
export function getListForType(params) {
  return request({
    url: '/cockpitapi/sample/getListForType',
    method: 'post'
  })
}

// 获取设备列表
export function getItemList(samplePlotId,type) {
  return request({
    url: `/cockpitapi/sample/getItemList?samplePlotId=${samplePlotId}&type=${type}`,
    method: 'post'
  })
}


